package com.example.interceptor.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author luheng
 * @create 2019/7/23
 */
@RestController
public class InterceptorController {

    @RequestMapping("/test")
    public String test() {
        return "hello test";
    }

    @RequestMapping("/test01")
    public String test01() {
        return "hello test01";
    }
}
